<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片的使用</title>
</head>

<body>
    <img src="https://www.itheima.com/images/logo.png" alt="黑马logo" />
    <img src="./images/cat.jpg" alt="这是一只猫" />
    <!-- alt  替换文本，图片加载失败时才显示-->

</body>

</html>